//
//  UnpayCell.m
//  KiklinkApp
//
//  Created by LJC on 14-9-15.
//  Copyright (c) 2014年 Kiklink. All rights reserved.
//

#import "UnpayCell.h"

#import "UIColor+hex.h"

@implementation UnpayCell

- (void)awakeFromNib
{
    self.seperateView.backgroundColor = [UIColor colorWithHexString:AppColor_BackGround];
    [self.payButton.layer setMasksToBounds:YES];
    [self.payButton.layer setCornerRadius:2];
    self.payButton.backgroundColor = [UIColor colorWithHexString:AppColor_slider];
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)loadData
{
    self.titleLabel.text = @"浮潜-潜水啊";
    self.orderNumber.text = @"11111";
    self.orderTime.text = @"2014年9月15日";
    self.priceLabel.text = @"300";
}

- (void)loadDataWithOrderHeader:(OrderHeader *)orderHeader
{
//    NSNumberFormatter* numberFormatter = [[NSNumberFormatter alloc] init];
//
//    self.titleLabel.text = ;
//    self.orderNumber.text = ;
//    self.orderTime.text = ;
//    self.priceLabel.text = [numberFormatter stringFromNumber:order.finalPrice];
}

@end
